//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2007 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   CATEGORY_ITEM_LINE
// AUTHOR           :   Ray Guo 
// DATE CREATE      :   2007/05/24
// DESCRIPTION      :   a CRITERIA file for the function, CATEGORY_ITEM_LINE
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2007/05/24   Ray Guo         1.0                 source is generated.
//
//
//
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

package com.erp.app.catalogLogin.criteria;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import com.erp.framework.model.criteria.SimpleSearchMaintStyleSrchCriteria;

/**
* <p>A <strong>SrchCriteria</strong>
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this bean is to store the user search criteria input
* for database query.
*
* @author          Ray Guo 
* @version 1.0     2007/05/24
* @since           FrameWork 1.0
*
*/

// Note:
// Currently only generates the first -1 fields of a table
// However, this number can be set in GenConstants.NO_CRITERIA

public class CategoryItemLineSrchCriteria extends SimpleSearchMaintStyleSrchCriteria {

	//Searching Criteria Attributes (DB Table Name: T_CATEGORY_ITEM_LINE)
	private String srchCompanyCode;                                                                    //DB Column Name: COMPANY_CODE
	private String srchHdrStatus;                                                                      //DB Column Name: STATUS
	private String srchItemLineFr;                                                                     //DB Column Name: ITEM_LINE
	private String srchItemLineTo;                                                                     //DB Column Name: ITEM_LINE
	private String srchHdrItemLineDescFr;                                                              //DB Column Name: ITEM_LINE_DESC
	private String srchHdrItemLineDescTo;                                                              //DB Column Name: ITEM_LINE_DESC
	private String srchHdrShowInCatalogFr;                                                             //DB Column Name: SHOW_IN_CATALOG
	private String srchHdrShowInCatalogTo;                                                             //DB Column Name: SHOW_IN_CATALOG

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Ray Guo 
	* @since      Framework 1.0
	*/
	public String toString() {
		String pkStr = "PK: {srchItemLineFr = " + this.srchItemLineFr
			+ "\n, srchItemLineTo = " + this.srchItemLineTo + "}\n";

		String colStr = "COL: {srchHdrItemLineDescFr = " + this.srchHdrItemLineDescFr
			+ "\n, srchHdrItemLineDescTo = " + this.srchHdrItemLineDescTo
			+ "\n, srchHdrShowInCatalogFr = " + this.srchHdrShowInCatalogFr
			+ "\n, srchHdrShowInCatalogTo = " + this.srchHdrShowInCatalogTo + "}\n";

		String mandatoryStr = "{srchCompanyCode = " + this.srchCompanyCode
			+ "\n, srchHdrStatus = " + this.srchHdrStatus
			+ "}\n";

		return "toString() is:\n" + mandatoryStr + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods) for searching criterias
	////////////////////////////////////////////////////////////////////////////////

	public String getSrchCompanyCode() {
		return this.srchCompanyCode;
	}

	public String getSrchHdrStatus() {
		return this.srchHdrStatus;
	}

	public String getSrchItemLineFr() {
		return this.srchItemLineFr;
	}

	public String getSrchItemLineTo() {
		return this.srchItemLineTo;
	}

	public String getSrchHdrItemLineDescFr() {
		return this.srchHdrItemLineDescFr;
	}

	public String getSrchHdrItemLineDescTo() {
		return this.srchHdrItemLineDescTo;
	}

	public String getSrchHdrShowInCatalogFr() {
		return this.srchHdrShowInCatalogFr;
	}

	public String getSrchHdrShowInCatalogTo() {
		return this.srchHdrShowInCatalogTo;
	}

	public void setSrchCompanyCode(String srchCompanyCode) {
		this.srchCompanyCode = srchCompanyCode;
	}

	public void setSrchHdrStatus(String srchHdrStatus) {
		this.srchHdrStatus = srchHdrStatus;
	}

	public void setSrchItemLineFr(String srchItemLineFr) {
		this.srchItemLineFr = srchItemLineFr;
	}

	public void setSrchItemLineTo(String srchItemLineTo) {
		this.srchItemLineTo = srchItemLineTo;
	}

	public void setSrchHdrItemLineDescFr(String srchHdrItemLineDescFr) {
		this.srchHdrItemLineDescFr = srchHdrItemLineDescFr;
	}

	public void setSrchHdrItemLineDescTo(String srchHdrItemLineDescTo) {
		this.srchHdrItemLineDescTo = srchHdrItemLineDescTo;
	}

	public void setSrchHdrShowInCatalogFr(String srchHdrShowInCatalogFr) {
		this.srchHdrShowInCatalogFr = srchHdrShowInCatalogFr;
	}

	public void setSrchHdrShowInCatalogTo(String srchHdrShowInCatalogTo) {
		this.srchHdrShowInCatalogTo = srchHdrShowInCatalogTo;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}
